package com.elmcode.study.service.impl;

import com.elmcode.study.mapper.UserMapper;
import com.elmcode.study.service.UserService;
import com.elmcode.study.vo.UserVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class UserServiceImpl implements UserService {

    @Autowired
    UserMapper userMapper;

    @Override
    public List<UserVo> list() {
        return userMapper.find();
    }
}
